package com.stars.entity.dto.pas;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.stars.common.annotation.Dict;
import com.stars.common.base.dto.BaseAppDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Title: 出入库明细表DTO
 * @author DJ
 * @date 2019-11-13
 * @version V1.0
 *
 */
@Data
public class PasInOutStoreDTO extends BaseAppDto{
	/**出入库类型*/
	private String dtype;
	/**细分类型*/
	private String ktype;
	/**产品名称*/
	private String pname;
	/**规格*/
	private String gg;
	/**牌号*/
	private String ph;
	/**创建时间*/
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date cdate;
	/**创建时间*/
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date udate;
	/**出入库日期*/
	private String ioDate;
	/**出入库总数*/
	private Integer num;
	/**增加前的库存*/
	private Integer sStoreNum;
	/**增加后的库存*/
	private Integer eStoreNum;
	/**公司名称*/
	private String companyName;
	/**系统编码*/
	private String sysCode;
	/**仓库*/
	private String site;
	/**库位*/
	private String co;

	/**产品id*/
	private String prodid;
	/**出入库单id*/
	private String mainId;
	/**关联单据id*/
	private String orderId;
	/**公司id*/
	private String companyId;
	/**替代产品id*/
	private String exProduct;
	/**替代产品名称*/
	private String exProductName;
	/**替代产品规格*/
	private String exProductGg;
	/**替代产品牌号*/
	private String exProductPh;
	/**客户订单单号*/
	private String cusCode;
}